package com.xinggq.auth.api.dto.token;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 刷新令牌请求DTO
 *
 * @author xinggq
 * @since 2024-01-01
 */
@Data
@Schema(description = "刷新令牌请求")
public class RefreshTokenRequest {

    @Schema(description = "刷新令牌", required = true)
    @NotBlank(message = "刷新令牌不能为空")
    private String refreshToken;
}